package com.zs.zcerp.approval.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wuwenze.poi.annotation.ExcelField;
import com.zs.zcerp.common.converter.TimeConverter;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * ${comments}
 *
 * @author Henry
 * @email *****@mail.com
 * @date 2021-04-09 20:58:44
 */
@Data
@TableName("QH_BASESTD_M")
public class QhBasestdMEntity implements Serializable {

		private static final long serialVersionUID = 1L;

	/**
	 *组织机构id
	 */
	@TableId("ORG_ID")
	private Integer orgId ;

	/**
	 * 流程编号
	 */
	@TableField("BASESTD_NO")
	private String basestdNo;

	/**
	 * $column.comments
	 */
	@TableField("NAME_S")
	private String nameS;

	/**
	 * 流程名称中文名字
	 */
	@TableField("NAME_T")
	@Size(min = 2, max = 60, message = "{range}")
	private String nameT;

	/**
	 * $column.comments
	 */
	@TableField("NAME_E")
	private String nameE;

	/**
	 * $column.comments
	 */
	@TableField("STATUS")
	private Integer status;

	/**
	 * 建档人
	 */
	@TableField("GRT_USER")
	private String grtUser;

	/**
	 * 建档部门
	 */
	@TableField("GRT_DEPT")
	private String grtDept;

	/**
	 * 最后修改用户
	 */
	@TableField("LAST_USER")
	private String lastUser;

	/**
	 * 创建时间
	 */
	@TableField("LAST_DATE")
	@ExcelField(value = "创建时间", writeConverter = TimeConverter.class)
	private Date lastDate;



	@TableField(exist = false)
	private String createTimeFrom;

	@TableField(exist = false)
	private String createTimeTo;



	/**
	 *机构中文名字
	 */
	@TableField(exist = false)
	private String orgNameT ;

	/**
	 *单据分类
	 */
	@TableField(exist = false)
	private String billstdNo ;


	/**
	 *单据分类：子分类编号
	 */
	@TableField(exist = false)
	private String billstdG ;

	/**
	 *部门名称
	 */
	@TableField(exist = false)
	private String deptName ;
	/**
	 * 单据分类中文名称
	 */
	@TableField(exist = false)
	private String billstdName;




}
